﻿CREATE TABLE [dbo].[InstanceHistories] (
    [InstanceHistoryID] INT            IDENTITY (1, 1) NOT NULL,
    [InstanceID]        INT            NOT NULL,
    [InstanceData]      NVARCHAR (MAX) NULL,
    [UserID]            NVARCHAR (MAX) NULL,
    [TimeStamp]         DATETIME       NULL,
    [StepID]            INT            NOT NULL,
    [Status]            NVARCHAR (MAX) NULL,
    CONSTRAINT [PK_dbo.InstanceHistories] PRIMARY KEY CLUSTERED ([InstanceHistoryID] ASC)
);

